﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace BathhouseService.Models.SqlModels
{
    public class PackageServiceSettings: TopBasePoco
    {
        [Key]
        public new int ID { get; set; }




        [Display(Name = "套餐")]
        [Required(ErrorMessage = "套餐是必填项")]
        public int PackageServiceId { get; set; }
        [Display(Name = "套餐")]
        public PackageService PackageService { get; set; }





        [Display(Name = "增值项目")]
        [Required(ErrorMessage = "增值项目是必填项")]
        public int ValueAddedServicesId { get; set; }
        [Display(Name = "增值项目")]
        public ValueAddedServices ValueAddedServices { get; set; }




        [Display(Name = "项目次数")]
        public int Count { get; set; }

    }
}
